package chapter03.Example777;

//使用final关键字修饰Animal类
class Animal{
}
//Dog类继承Animal类
class Dog extends Animal {
}
//定义测试类
public class Example07 {
    public static void main (String[] args) {
        Dog dog = new Dog();     //创造Dog类的实例对象
    }
}
